package com.ls.fw.index.solr.client.test;

import java.util.ArrayList;
import java.util.List;

import org.apache.solr.client.solrj.beans.Field;

public class Model {

	@Field
	private Long id;
	@Field
	private String name;
	private String remark;
	@Field
	private User user;
	@Field
	private List list = new ArrayList();
	
	public Model() {
		super();
		list.add("asdfa");
		list.add("asd阿斯达a");
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public User getUser() {
		return user;
	}
}
